﻿<Window x:Class="AdvStopWatch.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="30
                           " />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid Style="{StaticResource clickGrid}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition Width="20" />
                <ColumnDefinition />
                <ColumnDefinition Width="20" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Viewbox    Name="viewbox1">
                <Label Content="0" BorderThickness="1" Height="28" Name="lblHour"  />
            </Viewbox>
            <Viewbox Grid.Column="1">
                <Label Content=":" Height="28" Name="label2" />
            </Viewbox>
            <Viewbox Grid.Column="2">
                <Label Content="0" BorderThickness="1" Height="28" Name="lblMinute"  />
            </Viewbox>
            <Viewbox Grid.Column="3">
                <Label Content=":" Height="28"  />
            </Viewbox>
            <Viewbox Grid.Column="4">
                <Label Content="0" BorderThickness="1" Height="28" Name="lblSecond" />
            </Viewbox>
        </Grid>
        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Button Content="Start"   Name="btnStart" Margin="3" Click="btnStart_Click" />
            <Button Content="Stop"  Grid.Column="1"  Name="btnStop" Margin="3" Click="btnStop_Click" />
            <Button Content="Reset"  Grid.Column="2" Name="btnReset" Margin="3" Click="btnReset_Click" />
        </Grid>
        <ListView  Grid.Row="2" Name="lstTime"  >
            <ListView.View>
                <GridView>
                    <GridViewColumn Header="Hour" DisplayMemberBinding="{Binding Path=Hour}"/>
                    <GridViewColumn Header="Minute" DisplayMemberBinding="{Binding Path=Minute}"/>
                    <GridViewColumn Header="Second" DisplayMemberBinding="{Binding Path=Second}"/>
                   
                </GridView>
            </ListView.View>
        </ListView>
    </Grid>
</Window>
